#!/bin/bash
# yum repoinfo
mkdir /mlin/double
mv /etc/yum.repos.d/*  /mlin/double/
touch /etc/yum.repos.d/yumftp.repo
echo '[app]
baseurl=ftp://192.168.88.240/dvd/AppStream
gpgcheck=0
[base]
baseurl=ftp://192.168.88.240/dvd/BaseOS
gpgcheck=0
[myrpm]
baseurl=ftp://192.168.88.240/rpms
gpgcheck=0' > /etc/yum.repos.d/yumftp.repo